@import './mixin/center.less';

*{
	margin: 0;
	padding: 0;
}

#wrap{
	position: relative;
	width: 300px;
	height: 300px;
	border: 1px solid black;
	margin: 0 auto;
	.inner {
		&:nth-child(1) {
			.center(100px,100px,red);
		}
		&:nth-child(2) {
			.center(50px,50px,yellow);
		}
	}
}